package com.sakura.mall.coupon.skuFullReduction.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.coupon.skuFullReduction.domain.entity.SkuFullReductionEntity;
import com.sakura.mall.coupon.skuFullReduction.domain.request.AddSkuFullReductionRequest;
import com.sakura.mall.coupon.skuFullReduction.domain.request.UpdateSkuFullReductionRequest;
import com.sakura.mall.coupon.skuFullReduction.domain.request.SkuFullReductionPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.coupon.skuFullReduction.domain.vo.SkuFullReductionVo;

/**
 * 商品满减信息 service
 *
 * @author sakura
 */
public interface SkuFullReductionService extends IService<SkuFullReductionEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<SkuFullReductionVo> queryPage(SkuFullReductionPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddSkuFullReductionRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateSkuFullReductionRequest request);
}
